package com.mall4j.cloud.product.service.impl;

import com.alibaba.nacos.shaded.org.checkerframework.checker.units.qual.A;
import com.mall4j.cloud.product.mapper.AttrValueMapper;
import com.mall4j.cloud.product.model.AttrValue;
import com.mall4j.cloud.product.service.AttrValueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 属性值
 *
 * @author JCM
 * @date 2023-04-23 09:25:00
 */
@Service
public class AttrValueServiceImpl implements AttrValueService {

    @Autowired
    private AttrValueMapper attrValueMapper;

    @Override
    public void save(AttrValue attrValue) {
        attrValueMapper.save(attrValue);
    }

    @Override
    public void deleteByAttrId(Long attrId) {
        attrValueMapper.deleteByAttrId(attrId);
    }
}
